package com.sky.mapper;

import com.sky.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * PROJECT_NAME: sky-take-out
 * NAME: UserMapper
 *
 * @AUTHOR: zhang
 * DATE: 2023/11/28
 * DESCRIPTION :
 */
@Mapper
public interface UserMapper {
    User selectUserByOpenid(@Param("openid") String openid);

    void insert(@Param("user") User user);
}
